﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ParticleEffectBase : MonoBehaviour {

    public bool _isUseAmpM = true;  
    public bool _isUseOffset = false;
    public Gradient _particleGraientColor;
    public float _scaleRadio = 2;
    protected Vector3 _startEffectScale;
    protected Vector3 _startPostion;
    public float _gravityRadio = 5;
    public float _gravityMultper = 2;

    protected SettingData _settingData;

    public float RandomAnimRange = 1;

    private void Awake()
    {
        _startPostion = transform.position;
        _startEffectScale = transform.localScale;
        _settingData = SettingManager.Instance._settingData;
        Init();
    }

    protected virtual void Init()
    {

    }

    protected virtual void Update()
    {

    }

    private void OnDrawGizmos()
    {
        //Gizmos.color = Color.red;
        //Gizmos.DrawWireSphere(transform.position, RandomAnimRange);
    }

}
